window.onload = function () {
    var btn = document.getElementById('btn')
    // console.log("user:" + user + "111")
    btn.onclick = function () {
        var user = $('#user').val();//获取值
        var psd = $('#psd').val();
        var score = $('#score').val();
        // var user = document.getElementById('user')
        console.log(user)
        if (user == '') {
            alert('请输入账号')
        } else {
            if (psd == '') {
                alert('请输入密码')
            } else {
                if (score == '7364') {
                    alert('注册成功')

                    window.location = 'z-login.html'
                } else {
                    alert('验证码不正确')
                }
            }
        }
    }
}